<template>
  <el-dialog
    width="80%"
    title="${businessName!}新增"
    :visible.sync="dialogVisible"
    @open="dialogOpen"
    @close="dialogClose"
  >
    <el-form :model="form" :rules="formRules" ref="form" label-width="114px" size="mini">
      <el-row>
        <el-col :span="8">
          <el-form-item label="${businessName!}编号" prop="${(businessCode?uncap_first)!''}Code">
            <el-input v-model="form.${(businessCode?uncap_first)!''}Code" clearable></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="${businessName!}名称" prop="name">
            <el-input v-model="form.name" clearable></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="8"> </el-col>
      </el-row>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="dialogVisible = false">取 消</el-button>
      <el-button v-loading="commonMap.formSubmitLoading" type="primary" @click="formSubmitClick"
        >确 定</el-button
      >
    </div>
  </el-dialog>
</template>

<script src="./add.vue.js"></script>
